package com.zdkj.subway.stm.dto.in;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ProjectName: zdkj
 * @Package: com.zdkj.subway.st.entity
 * @ClassName: SwStInvalidTicket
 * @Description:
 * @Author: cuibin
 * @CreateDate: 2020/1/7 11:13
 * @Version: 1.0
 */
@Data
@ApiModel(value = "审核模块互联网售票机数据DTO")
public class SwStInternetTicketDTO extends Model<SwStInvalidTicketDTO> {
    Integer id;
    String lineCode;
    String stationCode;
    Integer totalNumberSales;
    Integer compareTotalNumberSales;
    BigDecimal subtotalTotal;
    BigDecimal compareSubtotalTotal;
    BigDecimal confirmAmount;
    BigDecimal assistAmount;
    Integer approvalStatus=0;
    @JsonFormat(pattern = "yyyy-MM-dd")
    String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    String endTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date settlementTime;
    Integer settlementPeriod;
    String remark="";
    Integer creatorId;
    String creatorName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date updateTime;
    String delFlag="0";

    Integer passengerAttendantId;
    String passengerAttendantJobNo;
    String passengerAttendantName;
    Integer attendancePersonId;
    String attendancePersonJobNo;
    String attendancePersonName;

    Integer confirmNumber;
    String diffReason;

    String equipmentCode;
    String equipmentName;
    @ApiModelProperty(value="收益日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String revenueDate;
    private String reportModifyStatus;
    String isAddReprotError;

}
